HydraBooking\Admin\Controller\SettingsController D

Total Complexity 137
Dependencies 10
Dependents 1
Total lines 1,121
Lines of code 849
Logical lines of code 432
Comment lines 107
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
UpdateIntegrationSettings()
D
24
33 200
GetNotificationSettings()
C
39 32 57
UpdateAvailabilitySettings()
A
38 14 75
UpdateNotificationSettings()
A
43 11 51
create_endpoint()
A
33 1 155
UpdateGetHostsSettings()
A
44 8 42
GetIntegrationSettings()
A
48 7 32
MarkAsDefault()
S
49 4 34
getShortcodeSettings()
S
49 4 33
installActivePlugins()
S
53 3 23
UpdateGeneralSettings()
S
53 3 22
generateShortPreview()
S
55 3 20
ensureBuilderKeyExists()
S
65 4 9
DeleteAvailabilitySettings()
S
55 2 19
GetSingleAvailabilitySettings()
S
58 1 16
GetGeneralSettings()
S
58 1 16
GetAvailabilitySettings()
S
61 1 13
init()
S
91 1 2
GetHostsSettings()
S
65 1 9
GetAppearanceSettings()
S
65 1 9
UpdateAppearanceSettings()
S
63 1 10
__construct()
S
91 1 2